package com.ityangxu.langchain4j.Assistant;

import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

/**
 *具备上下文记忆的人工智能服务
 */
@AiService(wiringMode = EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemory = "chatMemory")
public interface Assistant1 {
    String chat(String userMessage);
}
